package tech.abing.spider.task.model.amac;

import java.io.Serializable;
import java.sql.Timestamp;

import tech.abing.spider.annotation.Column;
import tech.abing.spider.annotation.Table;
import tech.abing.spider.model.Proccessable;

/**
 * 纪律处分表
 * @author Ivan qb.huang@wescxx.com   
 * @date 2016-10-31 下午06:19:55 
 * @version V2.0
 */
@Table(name = "disciplinary_action")
@SuppressWarnings("serial")
public class DisciplinaryActionEntity implements Proccessable, Serializable {
	/**title*/
	private java.lang.String title;
	/**content*/
	private java.lang.String content;
	/**发布日期*/
	private java.util.Date publishDate;
	/**附件下载地址*/
	private String attachmentUrl;
	/**创建时间*/
	private Timestamp createTime;
	
	/**用于记录ID*/
	private String id;
	
	/**
	 *
	 *@return ： ID
	 */
	@Column(name ="ID")
	public String getId() {
		return id;
	}
	/**
	 *方法: 设置java.lang.String
	 *@param: java.lang.String  ID
	 */
	public void setId(String id) {
		this.id = id;
	}
	
	/**
	 *方法: 取得java.lang.String
	 *@return: java.lang.String  title
	 */
	@Column(name ="TITLE")
	public java.lang.String getTitle(){
		return this.title;
	}

	/**
	 *方法: 设置java.lang.String
	 *@param: java.lang.String  title
	 */
	public void setTitle(java.lang.String title){
		this.title = title;
	}
	/**
	 *方法: 取得java.lang.Object
	 *@return: java.lang.Object  content
	 */
	@Column(name ="CONTENT")
	public java.lang.String getContent(){
		return this.content;
	}

	/**
	 *方法: 设置java.lang.Object
	 *@param: java.lang.Object  content
	 */
	public void setContent(java.lang.String content){
		this.content = content;
	}
	/**
	 *方法: 取得java.util.Date
	 *@return: java.util.Date  发布日期
	 */
	@Column(name ="PUBLISH_DATE")
	public java.util.Date getPublishDate(){
		return this.publishDate;
	}

	/**
	 *方法: 设置java.util.Date
	 *@param: java.util.Date  发布日期
	 */
	public void setPublishDate(java.util.Date publishDate){
		this.publishDate = publishDate;
	}

	/**
	 *
	 *@return  附件下载地址
	 */
	@Column(name ="ATTACHMENT_URL")
	public String getAttachmentUrl() {
		return attachmentUrl;
	}

	/**
	 *
	 *@param 附件下载地址
	 */
	public void setAttachmentUrl(String attachmentUrl) {
		this.attachmentUrl = attachmentUrl;
	}

	@Override
	public String toString() {
		return "DisciplinaryActionEntity [title=" + title + ", content=" + content + ", publishDate="
				+ publishDate + ", attachmentUrl=" + attachmentUrl + "]";
	}
	
	/**
	 *方法: 取得java.util.Date
	 *@return: java.util.Date  创建时间
	 */
	@Column(name ="CREATE_TIME")
	public Timestamp getCreateTime() {
		return createTime;
	}
	
	/**
	 *方法: 设置java.util.Date
	 *@param: java.util.Date  创建时间
	 */
	public void setCreateTime(Timestamp createTime) {
		this.createTime = createTime;
	}
	
}
